import os

url = "http://data.caida.org/datasets/topology/ark/ipv4/probe-data/team-1/2019/cycle-20190101/acc-gh.team-probing.c007143.20190101.warts.gz"
print(os.path.basename(url))
print(os.path.basename(os.path.dirname(url)))



